package com.qianyu.core.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@ApiModel(value = "LinkDto")
public class LinkDto {

    @Data
    @ApiModel(value = "LinkDto&LinkTask")
    public static class LinkTaskDto {

        @ApiModelProperty(value = "活动链接")
        @NotNull(message = "活动链接不能为空")
        private String url;

        @ApiModelProperty(value = "备注")
        private String remark;

    }

    @Data
    @ApiModel(value = "LinkDto&LinkActDto")
    public static class LinkActDto {

        @ApiModelProperty(value = "qq账号id")
        @NotNull(message = "qq账号ids不能为空")
        private List<Long> qqAccountIds;

        @ApiModelProperty(value = "活动id")
        @NotNull(message = "活动id不能为空")
        private Long linkActId;

        @ApiModelProperty(value = "游戏大区id")
        @NotNull(message = "游戏大区id不能为空")
        private Long gameAreaId;

    }
}
